package cn.amarone.scaffold.config.business.common;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author Amarone
 * @version 1.0
 * @description: 分页查询基础类
 * @date 2023/8/1 16:35
 */
@Schema(title = "分页查询基础类")
@Data
public class BaseReqPage extends BaseReq {

    @Schema(description = "当前页码", defaultValue = "1")
    private int pageNumber = 1;
    @Schema(description = "每页的数据量", defaultValue = "10")
    private int pageSize = 10;
    @Schema(description = "总数据数量。", defaultValue = "-1")
    private Long totalRow = -1L;
}
